package com.woniuxy.lrz.carlproject.common.util;

import java.util.Random;

public class RandomString {

    public  static  String  Random(int length){
        String str ="ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789";

        StringBuilder stringBuilder = new StringBuilder();
        for (int i = 0; i < length; i++) {


            stringBuilder.append( str.charAt(new Random().nextInt(str.length())));
        }
        return  stringBuilder.toString();
    }
}
